package com.ball.dev.mapper;

import com.ball.dev.entity.po.Post;
import com.ball.dev.entity.vo.PostVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * <p>
 * 帖子 Mapper 接口
 * </p>
 *
 * @author lou
 * @since 2024-03-04
 */
public interface PostMapper extends BaseMapper<Post> {

    Page<PostVo> getPostList(Page<PostVo> queryMpPage);

    Page<PostVo> getPushPostList(Page<PostVo> page);

}
